package com.ruoyi.cm.service;

import com.ruoyi.cm.domain.CmBaSettleDetail;
import com.ruoyi.cm.domain.vo.CmBaSettleDetailVo;
import com.ruoyi.cm.domain.bo.CmBaSettleDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 计量详情Service接口
 *
 * @author zyb
 * @date 2024-09-24
 */
public interface ICmBaSettleDetailService {

    /**
     * 查询计量详情
     */
    CmBaSettleDetailVo queryById(Long settleDetailId);

    /**
     * 查询计量详情列表
     */
    TableDataInfo<CmBaSettleDetailVo> queryPageList(CmBaSettleDetailBo bo, PageQuery pageQuery);

    /**
     * 查询计量详情列表
     */
    List<CmBaSettleDetailVo> queryList(CmBaSettleDetailBo bo);

    /**
     * 新增计量详情
     */
    Boolean insertByBo(CmBaSettleDetailBo bo);

    /**
     * 修改计量详情
     */
    Boolean updateByBo(CmBaSettleDetailBo bo);

    /**
     * 校验并批量删除计量详情信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
